package org.example.modules.user.service;

import com.alibaba.fastjson2.JSONObject;
import org.example.modules.user.common.Commsult;
import org.example.modules.user.entry.User;
import org.example.modules.user.entry.vo.InfoDetailsVo;

import java.util.List;

/**
 * @Description UserService
 * @Author xiaotian
 * @Date 2025-03-02
 */
public interface UserService {
//    LoginResponse wxLogin(String code);
    String wxLogin(JSONObject data);

    Object userRegister(JSONObject data);

    List<User> getUserList();

    void updateUserStatus(JSONObject data);

    User getUserInfoByUserName(String userName);

    User updateIngo(User userInfo);

    Commsult updatePassword(JSONObject data);

    void updateUserInfo(JSONObject data);
    void updateAuthority(String userName, Integer authority);

    InfoDetailsVo getUserInfo(JSONObject data);

    Commsult resetPassword(JSONObject data);
}
